test: test.cc
	g++ -o $@ $^ -std=c++14 -L/usr/lib/x86_64-linux-gnu/ -lmysqlclient -ljsoncpp -lpthread -lboost_system

.PHONY: clean
clean:
	rm -f test *.txt